package com.poposchool.project.service;

import com.poposchool.project.entity.Files;

import java.util.List;

/**
 * @Author Wang Jie
 * @Date 2022/8/3 14:38
 * @Version 1.0
 */
public interface FilesService {
    void insert(Files files);

    Files getFileMd5(String md5);

    List<Files> getPageFiles(Integer pageNum,
                             Integer pageSize,
                             String name
    );

    void batchDeleteFiles(List<Integer> ids);


    Integer getAllCount();

    void deleteFile(Integer id);

    void updateEnable(Integer id,Boolean enable);

    List<String> getEnableFile();
}
